//
//  AssetsCenter.h
//  cutter
//
//  Created by mac on 15/12/21.
//  Copyright © 2015年 e360. All rights reserved.
//
#import "AssetsPicker.h"
#import "AssetsClassifyCtrl.h"


#pragma mark -
#pragma mark AssetsMySourceCtrl
@interface AssetsMySourceCell : UICollectionViewCell
@property (weak, nonatomic) IBOutlet UIImageView *imageView;
@property (weak, nonatomic) IBOutlet UILabel *titieView;
@end

@interface AssetsMySourceCtrl : UIViewController<UIPopoverPresentationControllerDelegate>
@property (weak, nonatomic) IBOutlet UICollectionView *collectionView;
@property (weak, nonatomic) IBOutlet UIButton *backView;
//
@property (strong, nonatomic) NSMutableDictionary *condition;
@property(nonatomic, strong) NSMutableArray *data;
@property (nonatomic, copy) blockEvent onSelected;
@property (nonatomic, strong) NSNumber *dirid;
-(void)reloadData;
@end


#pragma mark -
#pragma mark AssetsSourceCtrl
@interface AssetsSourceCell : UICollectionViewCell
@property (weak, nonatomic) IBOutlet UIImageView *imageView;
@property (weak, nonatomic) IBOutlet UILabel *titieView;
@end

@interface AssetsSourceCtrl : UIViewController
@property (weak, nonatomic) IBOutlet UICollectionView *collectionView;
@property (strong, nonatomic) NSMutableDictionary *condition;
@property (strong, nonatomic) NSMutableArray *data;
@property (nonatomic, copy) blockEvent onSelected;
-(void)reloadData;
@end


#pragma mark -
#pragma mark AssetsCenterCtrl
@interface AssetsCenterCtrl : UITabBarController<UITextFieldDelegate>
@property (strong, nonatomic) IBOutlet UIView *tabBarView;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *widthLayout;
@property (weak, nonatomic) IBOutlet UITextField *searchView;
@property (weak, nonatomic) IBOutlet UIButton *productView;
@property (weak, nonatomic) IBOutlet UIButton *favoriteView;
@property (weak, nonatomic) IBOutlet UIButton *otherView;
@property (weak, nonatomic) IBOutlet UIButton *selfView;
@property (nonatomic, copy) blockEvent tempSelected;
@property (nonatomic, copy) blockEvent onSelected;
@end
